const Mock = require("mockjs");
const data = Mock.mock({
  "list|6": [
    {
      title: "@ctitle(2)",
      id: "@id",
      "children|5-20": [
        {
          title: "@ctitle",
          image: "@image(120x80,@color,@name)",
          id: "@id",
          description: "@cword(20,30)",
          auth: "@cname",
          datetime: "@datetime",
        },
      ],
    },
  ],
  "totalTag|10": [
    {
      title: "@ctitle",
      id: "@id",
      image: "@image(50x50,@color,@cname)",
      "count|10-100": 1,
    },
  ],
  userList: [
    {
      username: "zhangsan",
      password: "zhangsan",
      nickname: "小三三",
      avator: "@image(100x100,@color,'三三')",
      id: "@id",
      "list|5-10": [
        {
          title: "@ctitle",
          id: "@id",
          image: "@image(50x50,@color,@cname)",
          "count|10-100": 1,
        },
      ],
    },
    {
      username: "lisi",
      password: "lisi",
      nickname: "小四",
      acator: "@image(100x100,@color,'lisi')",
      id: "@id",
      "list|5-10": [
        {
          title: "@ctitle",
          id: "@id",
          image: "@image(50x50,@color,@cname)",
          "count|10-100": 1,
        },
      ],
    },
  ],
  "searchList|100": [
    {
      title: "@ctitle",
      image: "@image(120x80,@color,@name)",
      id: "@id",
      description: "@cword(20,30)",
    },
  ],
});
module.exports = data;
